package entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * Carmanage entity. @author MyEclipse Persistence Tools
 */

public class Carmanage implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer carid;
	private String driver;
	private String users;
	private Integer deptid;
	private String together;
	private Date begindate;
	private Date enddate;
	private String destination;
	private String reason;
	private Double mileage;
	private Date ordertime;
	private Integer createid;
	private String createname;
	private Integer deptmanagerid;
	private Integer status;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCarid() {
		return carid;
	}
	public void setCarid(Integer carid) {
		this.carid = carid;
	}
	public String getDriver() {
		return driver;
	}
	public void setDriver(String driver) {
		this.driver = driver;
	}
	public String getUsers() {
		return users;
	}
	public void setUsers(String users) {
		this.users = users;
	}
	public Integer getDeptid() {
		return deptid;
	}
	public void setDeptid(Integer deptid) {
		this.deptid = deptid;
	}
	public String getTogether() {
		return together;
	}
	public void setTogether(String together) {
		this.together = together;
	}
	public Date getBegindate() {
		return begindate;
	}
	public void setBegindate(Date begindate) {
		this.begindate = begindate;
	}
	public Date getEnddate() {
		return enddate;
	}
	public void setEnddate(Date enddate) {
		this.enddate = enddate;
	}
	public String getDestination() {
		return destination;
	}
	public void setDestination(String destination) {
		this.destination = destination;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public Double getMileage() {
		return mileage;
	}
	public void setMileage(Double mileage) {
		this.mileage = mileage;
	}
	public Date getOrdertime() {
		return ordertime;
	}
	public void setOrdertime(Date ordertime) {
		this.ordertime = ordertime;
	}
	public Integer getCreateid() {
		return createid;
	}
	public void setCreateid(Integer createid) {
		this.createid = createid;
	}
	public Integer getDeptmanagerid() {
		return deptmanagerid;
	}
	public void setDeptmanagerid(Integer deptmanagerid) {
		this.deptmanagerid = deptmanagerid;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public String getCreatename() {
		return createname;
	}
	public void setCreatename(String createname) {
		this.createname = createname;
	}
	
	public Carmanage() {
		super();
	}
	public Carmanage(Integer id, Integer carid, String driver, String users,
			Integer deptid, String together, Date begindate, Date enddate,
			String destination, String reason, Double mileage, Date ordertime,
			Integer createid, String createname, Integer deptmanagerid,
			Integer status) {
		super();
		this.id = id;
		this.carid = carid;
		this.driver = driver;
		this.users = users;
		this.deptid = deptid;
		this.together = together;
		this.begindate = begindate;
		this.enddate = enddate;
		this.destination = destination;
		this.reason = reason;
		this.mileage = mileage;
		this.ordertime = ordertime;
		this.createid = createid;
		this.createname = createname;
		this.deptmanagerid = deptmanagerid;
		this.status = status;
	}
	public Carmanage(Integer carid, String driver, String users,
			Integer deptid, String together, Date begindate, Date enddate,
			String destination, String reason, Double mileage, Date ordertime,
			Integer createid, String createname, Integer deptmanagerid,
			Integer status) {
		super();
		this.carid = carid;
		this.driver = driver;
		this.users = users;
		this.deptid = deptid;
		this.together = together;
		this.begindate = begindate;
		this.enddate = enddate;
		this.destination = destination;
		this.reason = reason;
		this.mileage = mileage;
		this.ordertime = ordertime;
		this.createid = createid;
		this.createname = createname;
		this.deptmanagerid = deptmanagerid;
		this.status = status;
	}
	
	
}